package com.me.modules.aff.entity;

import com.me.modules.activiti.annotation.ActField;
import com.me.modules.activiti.annotation.ActTable;
import com.me.modules.sys.entity.ExtendFieldValue;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;


import java.util.List;


/**
 * 事务申请流程信息表
 *
 * @author lill
 * @email lill5270@163.com
 * @date 2019-01-16 17:47:50
 */
@ActTable(tableName = "aff_affairs_info",pkName="id")
public class AffairsInfoEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	//ID
	private Long id;
	//编码
	private String code;
	//流程实例id
	private String instanceId;
	//流程定义id
	private String defid;
	//
	private String actResult;
	//事件状态
	private String status;
	//标题
	@ActField(name = "标题")
	private String affTopic;
	//业务系统
	@ActField(name = "业务系统")
	private Integer operation;
	//请求人ID
	private Integer reqId;
	//创建人
	private Integer startUserId;
	//提交事件
	private Date startTime;
	//关闭代码
	private String closeCode;
	//处理人
	private Integer dealOperatop;
	//处理组
	private Integer dealGroupId;
	//变更描述
	@ActField(name = "描述")
	private String affContent;
	//事务类型
	@ActField(name = "事务类型")
	private String affType;
	//可能的风险
	@ActField(name = "可能的风险")
	private String affPossibleRisks;
	//防范措施
	@ActField(name = "防范措施")
	private String affPreventive;
	//请求人姓名
	private String reqUser;
	private String startUserName;

	public String getReqUser() {
		return reqUser;
	}

	public void setReqUser(String reqUser) {
		this.reqUser = reqUser;
	}

	public String getStartUserName() {
		return startUserName;
	}

	public void setStartUserName(String startUserName) {
		this.startUserName = startUserName;
	}

	//业务系统名称
	private String operationName;

	public String getOperationName() {
		return operationName;
	}

	public void setOperationName(String operationName) {
		this.operationName = operationName;
	}

	private List<ExtendFieldValue> valueDictionarys =new ArrayList<ExtendFieldValue>();

	public List<ExtendFieldValue> getValueDictionarys() {
		return valueDictionarys;
	}

	public void setValueDictionarys(List<ExtendFieldValue> valueDictionarys) {
		this.valueDictionarys = valueDictionarys;
	}

	/**
	 * 设置：ID
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：ID
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：编码
	 */
	public void setCode(String code) {
		this.code = code;
	}
	/**
	 * 获取：编码
	 */
	public String getCode() {
		return code;
	}
	/**
	 * 设置：流程实例id
	 */
	public void setInstanceId(String instanceId) {
		this.instanceId = instanceId;
	}
	/**
	 * 获取：流程实例id
	 */
	public String getInstanceId() {
		return instanceId;
	}
	/**
	 * 设置：流程定义id
	 */
	public void setDefid(String defid) {
		this.defid = defid;
	}
	/**
	 * 获取：流程定义id
	 */
	public String getDefid() {
		return defid;
	}
	/**
	 * 设置：
	 */
	public void setActResult(String actResult) {
		this.actResult = actResult;
	}
	/**
	 * 获取：
	 */
	public String getActResult() {
		return actResult;
	}
	/**
	 * 设置：事件状态
	 */
	public void setStatus(String status) {
		this.status = status;
	}
	/**
	 * 获取：事件状态
	 */
	public String getStatus() {
		return status;
	}
	/**
	 * 设置：标题
	 */
	public void setAffTopic(String affTopic) {
		this.affTopic = affTopic;
	}
	/**
	 * 获取：标题
	 */
	public String getAffTopic() {
		return affTopic;
	}
	/**
	 * 设置：业务系统
	 */
	public void setOperation(Integer operation) {
		this.operation = operation;
	}
	/**
	 * 获取：业务系统
	 */
	public Integer getOperation() {
		return operation;
	}
	/**
	 * 设置：请求人ID
	 */
	public void setReqId(Integer reqId) {
		this.reqId = reqId;
	}
	/**
	 * 获取：请求人ID
	 */
	public Integer getReqId() {
		return reqId;
	}
	/**
	 * 设置：创建人
	 */
	public void setStartUserId(Integer startUserId) {
		this.startUserId = startUserId;
	}
	/**
	 * 获取：创建人
	 */
	public Integer getStartUserId() {
		return startUserId;
	}
	/**
	 * 设置：提交事件
	 */
	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}
	/**
	 * 获取：提交事件
	 */
	public Date getStartTime() {
		return startTime;
	}
	/**
	 * 设置：关闭代码
	 */
	public void setCloseCode(String closeCode) {
		this.closeCode = closeCode;
	}
	/**
	 * 获取：关闭代码
	 */
	public String getCloseCode() {
		return closeCode;
	}
	/**
	 * 设置：处理人
	 */
	public void setDealOperatop(Integer dealOperatop) {
		this.dealOperatop = dealOperatop;
	}
	/**
	 * 获取：处理人
	 */
	public Integer getDealOperatop() {
		return dealOperatop;
	}
	/**
	 * 设置：处理组
	 */
	public void setDealGroupId(Integer dealGroupId) {
		this.dealGroupId = dealGroupId;
	}
	/**
	 * 获取：处理组
	 */
	public Integer getDealGroupId() {
		return dealGroupId;
	}
	/**
	 * 设置：变更描述
	 */
	public void setAffContent(String affContent) {
		this.affContent = affContent;
	}
	/**
	 * 获取：变更描述
	 */
	public String getAffContent() {
		return affContent;
	}
	/**
	 * 设置：事务类型
	 */
	public void setAffType(String affType) {
		this.affType = affType;
	}
	/**
	 * 获取：事务类型
	 */
	public String getAffType() {
		return affType;
	}
	/**
	 * 设置：可能的风险
	 */
	public void setAffPossibleRisks(String affPossibleRisks) {
		this.affPossibleRisks = affPossibleRisks;
	}
	/**
	 * 获取：可能的风险
	 */
	public String getAffPossibleRisks() {
		return affPossibleRisks;
	}
	/**
	 * 设置：防范措施
	 */
	public void setAffPreventive(String affPreventive) {
		this.affPreventive = affPreventive;
	}
	/**
	 * 获取：防范措施
	 */
	public String getAffPreventive() {
		return affPreventive;
	}
}
